/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package db;

import db.DTO.DTOAcidente;
import java.sql.SQLException;
import java.util.Collection;

/**
 *
 * @author evandro
 */
public interface InterfaceDAO {

    Collection recuperaRegistroComParametros(String sNome);

    Collection recuperaRegistroPorPK(int codigo);

    void deleteRegistroById(int id);

    void insertRegistro(DTOAcidente dtoAcidente) throws SQLException;

    void updateRegistro(DTOAcidente dtoAcidente, int Id) throws SQLException;

}
